﻿namespace Quail
{
    /// <summary>
    /// Wraps BUTTON or INPUT@type=button web controls
    /// </summary>
    public class WebButton : WebInput
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="WebButton"/> class.
        /// </summary>
        /// <param name="container">The owning html container</param>
        /// <param name="selector">The jQuery selector for the control</param>
        public WebButton(WebControlContainer container, string selector)
            : base(container, selector)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="WebButton"/> class.
        /// </summary>
        /// <param name="control">The control.</param>
        public WebButton(WebControl control)
            :base(control)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="WebButton"/> class.
        /// </summary>
        public WebButton()
        {
        }
    }
}
